package com.zhongkeruan.common.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author yangyao
 * @Description: Order
 * @date 2019/1/11 17:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {

    private Long id;

    private Long userId;

    private Long productId;

    private BigDecimal totalAmount;

    private Date orderDate;

    private Integer productNum;

}
